//
//  StatisticViewController.h
//  PurchasingMeeting
//
//  Created by zhuang yihang on 7/12/13.
//  Copyright (c) 2013 YX. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EGORefreshTableFooterView.h"
#import "BaseViewController.h"
#import "DemoTableController.h"
#import "ShopViewController.h"
#import "OrderObject.h"

@interface StatisticViewController : BaseViewController<UIScrollViewDelegate,EGORefreshTableFooterDelegate,UITextFieldDelegate>
{
    EGORefreshTableFooterView *refreshView;
    BOOL reloading;
    UIScrollView *scroll;
    int num;
//    UILabel *title;
    UIButton *next;
    UIButton *next1;
    //UIView * view;
    UIImageView *filtertint;
    UIImageView *tint;
    NSArray *product;
    NSArray *searchproduct;
    int page;
    UITextField *search;
    DemoTableController *controller;
    ShopViewController *shopcontroller;
    int numtag;
    //大类
    NSString *pserialstr;
    //小类
    NSString *stylestr;
    //订单分类
    int submit;
    //选择的店铺ID
    NSString* shopid;
    
    UIButton *totalshop;
    UIButton *collectsuit;
    UIScrollView *filterscroll;
    float distance;
    
    //当前过滤条件,数组元素为keyobject记录了当前各过滤条件选择的条件
    NSMutableArray* KeyFilter;
    NSArray *shop;
    UIImageView *copytopaste;
    NSMutableArray *shoparray;
    UIView *shopview;
    NSMutableArray *shopidarray;
    NSArray *sizegroupid;
    NSArray *jksizegroupid;
    OrderObject *order;
    OrderObject *bigorder;
    OrderObject *jkorder;
    BOOL isclick;
    UILabel *unsubcount;
//    NSArray *unsubproducts;
    UIView *backview;
    NSArray* sizeType;
    BOOL isnoobj;
//    UILabel *ordercount;
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil tag:(int)tag;
@end
